package accel.movement;

public class MovementProperties {

	public enum Strength{Light, Hard, Any, None}
	public enum Direction {Minus, Plus, Any, None}
	
	public Strength strength;
	public Direction direction;
	
	public MovementProperties(Strength str, Direction dir)
	{
		this.strength = str;
		this.direction = dir;
	}
	
	@Override
	public boolean equals(Object obj)
	{
		if (!(obj instanceof MovementProperties))
			return false;
		MovementProperties o = (MovementProperties)obj;
		if ((this.strength.equals(o.strength) || this.strength.equals( Strength.Any)) && (this.direction.equals(o.direction) || this.direction.equals(Direction.Any)))
			return true;
		return false;
	}
}
